//============================================================================
// Name        : oval.cpp
// Author      : Benedikt Bovelette / Ingmar Hartung
// Version     :
// Copyright   : (c) 2012
// Description :
//============================================================================
#include "Header/oval.h"

void DrawOval() {
	GLUquadricObj* cylSphere;
	cylSphere = gluNewQuadric();

	//Leichtgrau
	glPushMatrix();
	{
		initMaterial(6);
		glTranslatef(1.5, 0.02, 0.0);
		glColor3f(.6, .6, .6);
		glRotatef(-75, 0., 1.0, 0.);
		glScalef(0.8, 0.7, 1.5);
		gluSphere(cylSphere, 0.3, 100, 100);
		glPushMatrix();
		{
			glTranslatef(0.0, 0.0, 0.1);
			glRotatef(0, 0, 1, 0);
			glColor3f(.6, .6, .6);

			glScalef(0.8, 0.7, 0.8);
			gluSphere(cylSphere, 0.3, 100, 100);
		}
		glPopMatrix();
	}
	glPopMatrix();
}
